import { MenuItemType,MenuGroup,IMenuButtonItem, MenuPosition } from '@univerjs/ui';
// const sharButton= {
//     id: 'shar-button', // button id, also used as the click event command id
//     title: '分享', // button text
//     tooltip: '分享', // tooltip text
//     icon: 'sharicon', // button icon
//     group: MenuGroup.CONTEXT_MENU_DATA,
//     type: MenuItemType.BUTTON, // button type
//     positions: [MenuPosition.TOOLBAR_START], // add to toolbar
//   }
//   const saveButton= {
//     id: 'save-button', // button id, also used as the click event command id
//     title: '保存', // button text
//     tooltip: '保存', // tooltip text
//     icon: 'saveicon', // button icon
//     group: MenuGroup.CONTEXT_MENU_DATA,
//     type: MenuItemType.BUTTON, // button type
//     positions: [MenuPosition.TOOLBAR_START], // add to toolbar
//   }
//   const printButton= {
//     id: 'print-button', // button id, also used as the click event command id
//     title: '打印', // button text
//     tooltip: '打印', // tooltip text
//     icon: 'printicon', // button icon
//     group: MenuGroup.CONTEXT_MENU_DATA,
//     type: MenuItemType.BUTTON, // button type
//     positions: [MenuPosition.TOOLBAR_START], // add to toolbar
//   }
//   const downloadButton= {
//     id: 'download-button', // button id, also used as the click event command id
//     title: '下载', // button text
//     tooltip: '下载', // tooltip text
//     icon: 'downloadicon', // button icon
//     group: MenuGroup.CONTEXT_MENU_DATA,
//     type: MenuItemType.BUTTON, // button type
//     positions: [MenuPosition.TOOLBAR_START], // add to toolbar
//   }
  
  const backButton= {
    id: 'back-button', // button id, also used as the click event command id
    title: '退出', // button text
    tooltip: '退出', // tooltip text
    icon: 'backicon', // button icon
    group: MenuGroup.TOOLBAR_HISTORY,
    type: MenuItemType.BUTTON, // button type
    positions: [MenuPosition.TOOLBAR_START], // add to toolbar
  }
 
  export {backButton};